package org.lanqiao.tjut.bean;

import java.util.List;
import java.util.Set;

public class DepartmentBean {
	/**
	 * primary key department id
	 */
	private Integer deptId;
	/**
	 * department name
	 */
	private String deptName;
	/**
	 * department code
	 */
	private String deptCode;

	/**
	 * 一对多的映射关系：需要在1端维护一个N端的集合属性
	 */
	private Set<StudentBean> lstStus;

	private List<StudentBean> lstStus2;
	
	
	
	public List<StudentBean> getLstStus2() {
		return lstStus2;
	}

	public void setLstStus2(List<StudentBean> lstStus2) {
		this.lstStus2 = lstStus2;
	}

	public Integer getDeptId() {
		return deptId;
	}

	public void setDeptId(Integer deptId) {
		this.deptId = deptId;
	}

	public String getDeptName() {
		return deptName;
	}

	public void setDeptName(String deptName) {
		this.deptName = deptName;
	}

	public String getDeptCode() {
		return deptCode;
	}

	public void setDeptCode(String deptCode) {
		this.deptCode = deptCode;
	}

	public Set<StudentBean> getLstStus() {
		return lstStus;
	}

	public void setLstStus(Set<StudentBean> lstStus) {
		this.lstStus = lstStus;
	}

	@Override
	public String toString() {
		return "DepartmentBean [deptId=" + deptId + ", deptName=" + deptName + ", deptCode=" + deptCode + ", lstStus="
				+ lstStus + "]";
	}

}
